<?php foreach ($frames as $frame): ?>
	<?php echo $this->Html->link(
		$this->Html->image("/files/uploads/frames/". $frame['Frame']['id'] ."_cropped_100x100.". $frame['Frame']['ext']),
		array('controller' => 'frames', 'action' => 'view', $frame['Frame']['id'], 'admin' => false),
		array('escape' => false)); 
	?>
<?php endforeach; ?>
<hr />
<?php echo $this->Html->Link('Add frame', array('controller' => 'frames', 'action' => 'add', 'admin' => true)); ?>